package db

const TableNameWalletPayLog = TablePrefix + "wallet_pay_log"

type WalletPayLog struct {
	BaseModel
	UID     uint   `gorm:"column:uid;type:int(11);default:0;comment:用户id" json:"uid" form:"uid"`                     // 用户id
	OrderNo string `gorm:"column:order_no;type:varchar(100);default:'';comment:订单号" json:"order_no" form:"order_no"` // 订单号
	Type    int    `gorm:"column:type;type:tinyint(1);default:0;comment:订单号" json:"type" form:"type"`                // 0=钱包支付
	Info    string `gorm:"column:info;type:varchar(200);default:'';comment:说明" json:"info" form:"info"`              // 说明
}

func (*WalletPayLog) TableName() string {
	return TableNameWalletPayLog
}
